package com.wang.loanassembly.controller;


import com.wang.commons.result.Result;
import com.wang.loanassembly.param.DebtCollection.AddDebt;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lichacha
 * @since 2022-01-04
 */
@Controller
@RequestMapping("/debtCollection")
@Api(tags = "追债公司记录接口类")
public class DebtCollectionController {
    /**
     * 查询追债公司的接口
     */
    @GetMapping("selectDebt")
    @ApiOperation("查询追债公司")
    public Result selectDebt(@ApiParam(name = "keyword",value = "公司/负责人关键词")@RequestParam("keyword")String keyword){
        return  null;
    }


    /**
     * 新增追债公司的接口
     */
    @PutMapping("addDete")
    @ApiOperation("新增追债公司")
    public Result addDebt(@RequestBody AddDebt ad ){
        return null;
    }



    /**
     * 删除追债公司
     */
    @DeleteMapping("delDebt")
    @ApiOperation("删除追债公司记录")
    public Result delDebt(@ApiParam(name = "comId",value = "公司id",required = true)@RequestParam("comId") Integer comId){
        return null;
    }



}

